package com.hmdp.utils;

public class RedisConstants {
    /** 商铺key */
    public static final String SHOP_KEY = "shop:";

    /** 商铺key的超时时间 */
    public static final Long SHOP_KEY_TTL = 30L;

    /** 商铺不存在 */
    public static final String SHOP_NULL_VALUE = "";

    /** 商铺不存在的超时时间 */
    public static final Long SHOP_NULL_VALUE_TTL = 2L;

    /**
     * 秒杀库存前缀
     */
    public static final String SECKILL_STOCK_KEY = "seckill:stock:";
    /**
     * 博客点赞
     */
    public static final String BLOG_LIKE_KEY = "blog:liked:";
    /**
     * feed流前缀
     */
    public static final String FEED_PREFIX = "feed:";
    /**
     * 商铺坐标前缀
     */
    public static final String SHOP_GEO_PREFIX = "shop:geo:";
    /**
     * 签到key
     */
    public static final String SIGN_KEY = "sign:";



}
